<html xmlns:wicket>
<body>
  <span wicket:id="myPanel1"/>
  
  <wicket:fragment wicket:id="frag1">
    aaa<span wicket:id="label1">text</span>bbb
  </wicket:fragment>
</body>
</html>
